package git.soulbgm.pojo.dto;

/**
 * 更新时间信息
 *
 * @author SoulBGM
 * @date 2021-09-22
 */
public class NtpdateInfo {

    /**
     * ntp服务器地址
     */
    private String ntpIp;

    /**
     * 偏移秒数
     */
    private Double offsetSeconds;

    /**
     * 状态 2 成功对准 1 没有对准 0 服务器不可用
     */
    private Integer status;

    public String getNtpIp() {
        return ntpIp;
    }

    public void setNtpIp(String ntpIp) {
        this.ntpIp = ntpIp;
    }

    public Double getOffsetSeconds() {
        return offsetSeconds;
    }

    public void setOffsetSeconds(Double offsetSeconds) {
        this.offsetSeconds = offsetSeconds;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    @Override
    public String toString() {
        return "NtpdateInfo{" +
                "ntpIp='" + ntpIp + '\'' +
                ", offsetSeconds=" + offsetSeconds +
                ", status=" + status +
                '}';
    }
}
